﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TheVerge.Base.Platform {
	public static class Factory {

		public static IUIThread UI { get; private set; }
        public static IHttpUtility HttpUtility { get; private set; }
        public static ILocalStorage LocalStorage { get; private set; }

		public static void Initialize(IUIThread ui, IHttpUtility http, ILocalStorage storage) {
			UI = ui;
            HttpUtility = http;
            LocalStorage = storage;
            API.Initialize(storage, () => { });
		}
	}
}
